Pull Request to create/update 'rebased/brotli-debug' branch#233
Closed
Pull Request to create/update 'rebased/brotli-debug' branch#233
Conversation
921b5d5 to
f60954c
Compare
11601f3 to
c84e37c
Compare
Contributor
|
List of current features in the branch:
List of filters you can apply:
Default compression level from iText is used everywhere. Not thoroughly tested yet. |
With this commit all modified streams are written with `BrotliDecode`.
* ASCII85Decode * ASCIIHexDecode * RunLengthDecode
When you open a document as owner, you can now manipulate stream filters via the context menu. The available options at the moment are the following: 1. Remove all filters from a stream. I.e. save the decoded stream into the file. 2. Add an `ASCII85Decode` filter. 3. Add an `ASCIIHexDecode` filter. 4. Add a `BrotliDecode` filter with the default compression level. 5. Add a `FlateDecode` filter with the default compression level. 6. Add a `RunLengthDecode` filter. When you add a filter, they are layered on top, not replaced. So you could test some of the more unorthodox configurations. Additionally, when you save a stream now, it is saved without any filters applied by default. And now the `Length` value is correctly updated on the stream.
Now you can change this in the preferences window. This will affect the streams created automatically by iText itself and the default filter used, when saving stream. You can still remove all filters afterward, if required.
This seems less unexpected, than what was happening before. Still a bit hacky though...
michaeldemey
approved these changes
Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Programmatically created Pull Request to automatically keep merge branch to develop up-to-date